﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication
{
    class myList<T1, T2> //where T1 : Point, IObjects
    {
        public List<T1> mylist = new List<T1>();

        public bool Compare(T1 op1, T2 op2)
        {
            if (op1 != null && op2 != null)
            {
                return true;    
            }
            else
            {
                return false;
            }
        }

        public static bool StaticCompare(T1 op1, T2 op2)
        {
            if (op1 != null && op2 != null)
            {
                return true;
            }
            else
            {
                return false;
            }
        }

    }
}
